package cn.bdqn.service.impl;

import cn.bdqn.dao.GradeMapper;
import cn.bdqn.pojo.Grade;
import cn.bdqn.service.GradeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 正文
 * @date 2020/7/16 - 16:35
 */
@Service
public class GradeServiceImpl implements GradeService {
    @Resource
    GradeMapper gradeMapper;

    @Override
    public List<Grade> findGradeAll(Integer id) {
        return gradeMapper.findGradeAll(id);
    }

    @Override
    public List<Grade> getEmps(Integer id, Integer pn) {
        return gradeMapper.getEmps(id,pn);
    }

    @Override
    public Integer getCount(Integer id) {
        return gradeMapper.getCount(id);
    }

}
